<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (Mac OS): Source/CPTTradingRangePlot.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (Mac OS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_p_t_trading_range_plot_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Source/CPTTradingRangePlot.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_c_p_t_trading_range_plot_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#import &quot;<a class="code" href="_c_p_t_definitions_8h.html">CPTDefinitions.h</a>&quot;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#import &quot;<a class="code" href="_c_p_t_plot_8h.html">CPTPlot.h</a>&quot;</span>
<a name="l00003"></a>00003 <span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span>
<a name="l00004"></a>00004 
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a>;
<a name="l00008"></a>00008 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_mutable_numeric_data.html" title="An annotated NSMutableData type.">CPTMutableNumericData</a>;
<a name="l00009"></a>00009 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_numeric_data.html" title="An annotated NSData type.">CPTNumericData</a>;
<a name="l00010"></a>00010 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_trading_range_plot.html" title="A trading range financial plot.">CPTTradingRangePlot</a>;
<a name="l00011"></a>00011 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a>;
<a name="l00012"></a>00012 
<a name="l00015"></a>00015 <span class="keyword">extern</span> <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<span class="keyword">const</span> <a class="code" href="group__plot_bindings_trading_range_plot.html#ga19d17ef5e84a7a36c4c3fc05aa552348" title="X values.">CPTTradingRangePlotBindingXValues</a>;
<a name="l00016"></a>00016 <span class="keyword">extern</span> <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<span class="keyword">const</span> <a class="code" href="group__plot_bindings_trading_range_plot.html#ga79233b77eb1664118f183720e60cf03a" title="Open price values.">CPTTradingRangePlotBindingOpenValues</a>;
<a name="l00017"></a>00017 <span class="keyword">extern</span> <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<span class="keyword">const</span> <a class="code" href="group__plot_bindings_trading_range_plot.html#ga306d6a52959ac8bea1230ef5305e8636" title="High price values.">CPTTradingRangePlotBindingHighValues</a>;
<a name="l00018"></a>00018 <span class="keyword">extern</span> <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<span class="keyword">const</span> <a class="code" href="group__plot_bindings_trading_range_plot.html#ga50d2cb897e004a1cf8d6af5635daaae0" title="Low price values.">CPTTradingRangePlotBindingLowValues</a>;
<a name="l00019"></a>00019 <span class="keyword">extern</span> <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<span class="keyword">const</span> <a class="code" href="group__plot_bindings_trading_range_plot.html#gafc476a911fbf3eba1e7daf31ad5c5f27" title="Close price values.">CPTTradingRangePlotBindingCloseValues</a>;
<a name="l00021"></a>00021 
<a name="l00025"></a><a class="code" href="_c_p_t_trading_range_plot_8h.html#a0cea22e1a88ce4421003beeb5cd4b66d">00025</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="_c_p_t_trading_range_plot_8h.html#a0cea22e1a88ce4421003beeb5cd4b66d" title="Enumeration of Quote plot render style types.">_CPTTradingRangePlotStyle</a> {
<a name="l00026"></a><a class="code" href="_c_p_t_trading_range_plot_8h.html#a0cea22e1a88ce4421003beeb5cd4b66da1577be7fb34f7364efc4006066bb6d88">00026</a>     <a class="code" href="_c_p_t_trading_range_plot_8h.html#a0cea22e1a88ce4421003beeb5cd4b66da1577be7fb34f7364efc4006066bb6d88" title="OHLC.">CPTTradingRangePlotStyleOHLC</a>,       
<a name="l00027"></a><a class="code" href="_c_p_t_trading_range_plot_8h.html#a0cea22e1a88ce4421003beeb5cd4b66da3d54a828cf54db92e940948bfe7d3076">00027</a>     <a class="code" href="_c_p_t_trading_range_plot_8h.html#a0cea22e1a88ce4421003beeb5cd4b66da3d54a828cf54db92e940948bfe7d3076" title="Candle.">CPTTradingRangePlotStyleCandleStick</a> 
<a name="l00028"></a>00028 }
<a name="l00029"></a>00029 <a class="code" href="_c_p_t_trading_range_plot_8h.html#a26d1a7fecc0486d22ae69e933933cf3d" title="Enumeration of Quote plot render style types.">CPTTradingRangePlotStyle</a>;
<a name="l00030"></a>00030 
<a name="l00034"></a><a class="code" href="_c_p_t_trading_range_plot_8h.html#af5498c798a16422354fd7161f0abaf06">00034</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="_c_p_t_trading_range_plot_8h.html#af5498c798a16422354fd7161f0abaf06" title="Enumeration of Quote plot data source field types.">_CPTTradingRangePlotField</a> {
<a name="l00035"></a><a class="code" href="_c_p_t_trading_range_plot_8h.html#af5498c798a16422354fd7161f0abaf06a4bacbd0b64733a17914687b2d4d3fcda">00035</a>     <a class="code" href="_c_p_t_trading_range_plot_8h.html#af5498c798a16422354fd7161f0abaf06a4bacbd0b64733a17914687b2d4d3fcda" title="X values.">CPTTradingRangePlotFieldX</a>,    
<a name="l00036"></a><a class="code" href="_c_p_t_trading_range_plot_8h.html#af5498c798a16422354fd7161f0abaf06a655989fbfd87a5c60558d059ccce3445">00036</a>     <a class="code" href="_c_p_t_trading_range_plot_8h.html#af5498c798a16422354fd7161f0abaf06a655989fbfd87a5c60558d059ccce3445" title="Open values.">CPTTradingRangePlotFieldOpen</a>, 
<a name="l00037"></a><a class="code" href="_c_p_t_trading_range_plot_8h.html#af5498c798a16422354fd7161f0abaf06afde22423a8e033af1a92af7714fafbff">00037</a>     <a class="code" href="_c_p_t_trading_range_plot_8h.html#af5498c798a16422354fd7161f0abaf06afde22423a8e033af1a92af7714fafbff" title="High values.">CPTTradingRangePlotFieldHigh</a>, 
<a name="l00038"></a><a class="code" href="_c_p_t_trading_range_plot_8h.html#af5498c798a16422354fd7161f0abaf06adaf48dd581316e023847d12e65ad9c2b">00038</a>     <a class="code" href="_c_p_t_trading_range_plot_8h.html#af5498c798a16422354fd7161f0abaf06adaf48dd581316e023847d12e65ad9c2b" title="Low values.">CPTTradingRangePlotFieldLow</a>,  
<a name="l00039"></a><a class="code" href="_c_p_t_trading_range_plot_8h.html#af5498c798a16422354fd7161f0abaf06a17b56d2f5fd676f2f40a32c707a0600c">00039</a>     <a class="code" href="_c_p_t_trading_range_plot_8h.html#af5498c798a16422354fd7161f0abaf06a17b56d2f5fd676f2f40a32c707a0600c" title="Close values.">CPTTradingRangePlotFieldClose</a> 
<a name="l00040"></a>00040 }
<a name="l00041"></a>00041 <a class="code" href="_c_p_t_trading_range_plot_8h.html#a03306b6f525fa0e3d6ea8fd7596a0eee" title="Enumeration of Quote plot data source field types.">CPTTradingRangePlotField</a>;
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 <span class="preprocessor">#pragma mark -</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span>
<a name="l00045"></a><a class="code" href="interface_c_p_t_trading_range_plot.html">00045</a> <span class="keyword">@interface </span><a class="code" href="interface_c_p_t_trading_range_plot.html" title="A trading range financial plot.">CPTTradingRangePlot</a> : <a class="code" href="interface_c_p_t_plot.html" title="An abstract plot class.">CPTPlot</a> {
<a name="l00046"></a>00046     <span class="keyword">@private</span>
<a name="l00047"></a><a class="code" href="interface_c_p_t_trading_range_plot.html#ab6e6d4365f2edcca48eed9abf7c1c948">00047</a>     <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a> *<a class="code" href="interface_c_p_t_trading_range_plot.html#ab6e6d4365f2edcca48eed9abf7c1c948" title="The line style used to draw candlestick or OHLC symbols.">lineStyle</a>;
<a name="l00048"></a><a class="code" href="interface_c_p_t_trading_range_plot.html#a3e323081903dc3c724683035c71eb299">00048</a>     <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a> *<a class="code" href="interface_c_p_t_trading_range_plot.html#a3e323081903dc3c724683035c71eb299" title="The line style used to outline candlestick symbols when close &gt;= open. If nil, will use lineStyle ins...">increaseLineStyle</a>;
<a name="l00049"></a><a class="code" href="interface_c_p_t_trading_range_plot.html#a0ebaa13308265ed3ec1b00fadb89d222">00049</a>     <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a> *<a class="code" href="interface_c_p_t_trading_range_plot.html#a0ebaa13308265ed3ec1b00fadb89d222" title="The line style used to outline candlestick symbols when close &lt; open. If nil, will use lineStyle inst...">decreaseLineStyle</a>;
<a name="l00050"></a><a class="code" href="interface_c_p_t_trading_range_plot.html#a44e9aae486974e637b7ef01709be0ccb">00050</a>     <a class="code" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> *<a class="code" href="interface_c_p_t_trading_range_plot.html#a44e9aae486974e637b7ef01709be0ccb" title="The fill used with a candlestick plot when close &gt;= open.">increaseFill</a>;
<a name="l00051"></a><a class="code" href="interface_c_p_t_trading_range_plot.html#ab27176fc26ab8914e3e1475d4b92cabe">00051</a>     <a class="code" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> *<a class="code" href="interface_c_p_t_trading_range_plot.html#ab27176fc26ab8914e3e1475d4b92cabe" title="The fill used with a candlestick plot when close &lt; open.">decreaseFill</a>;
<a name="l00052"></a>00052 
<a name="l00053"></a><a class="code" href="interface_c_p_t_trading_range_plot.html#a93f65a248aac4532413fefb39c5f979c">00053</a>     <a class="code" href="_c_p_t_trading_range_plot_8h.html#a26d1a7fecc0486d22ae69e933933cf3d" title="Enumeration of Quote plot render style types.">CPTTradingRangePlotStyle</a> <a class="code" href="interface_c_p_t_trading_range_plot.html#a93f65a248aac4532413fefb39c5f979c" title="The style of trading range plot drawn.">plotStyle</a>;
<a name="l00054"></a>00054 
<a name="l00055"></a><a class="code" href="group__plot_animation_trading_range_plot.html#ga17e4c2a24773233219fced333997f013">00055</a>     CGFloat <a class="code" href="group__plot_animation_trading_range_plot.html#ga17e4c2a24773233219fced333997f013" title="The width of bars in candlestick plots (view coordinates).">barWidth</a>;
<a name="l00056"></a><a class="code" href="group__plot_animation_trading_range_plot.html#gac504792fc8939f47a00812a385afb3a0">00056</a>     CGFloat <a class="code" href="group__plot_animation_trading_range_plot.html#gac504792fc8939f47a00812a385afb3a0" title="The length of close and open sticks on OHLC plots (view coordinates).">stickLength</a>;
<a name="l00057"></a><a class="code" href="group__plot_animation_trading_range_plot.html#ga13215c9ee64730284c7b395c285e92db">00057</a>     CGFloat <a class="code" href="group__plot_animation_trading_range_plot.html#ga13215c9ee64730284c7b395c285e92db" title="The corner radius used for candlestick plots. Defaults to 0.0.">barCornerRadius</a>;
<a name="l00058"></a>00058 }
<a name="l00059"></a>00059 
<a name="l00060"></a>00060 <span class="keyword">@property</span> (nonatomic, readwrite, copy) <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a> *lineStyle;
<a name="l00061"></a>00061 <span class="keyword">@property</span> (nonatomic, readwrite, copy) <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a> *increaseLineStyle;
<a name="l00062"></a>00062 <span class="keyword">@property</span> (nonatomic, readwrite, copy) <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a> *decreaseLineStyle;
<a name="l00063"></a>00063 <span class="keyword">@property</span> (nonatomic, readwrite, copy) <a class="code" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> *increaseFill;
<a name="l00064"></a>00064 <span class="keyword">@property</span> (nonatomic, readwrite, copy) <a class="code" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> *decreaseFill;
<a name="l00065"></a>00065 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="code" href="_c_p_t_trading_range_plot_8h.html#a26d1a7fecc0486d22ae69e933933cf3d" title="Enumeration of Quote plot render style types.">CPTTradingRangePlotStyle</a> plotStyle;
<a name="l00066"></a>00066 <span class="keyword">@property</span> (nonatomic, readwrite, assign) CGFloat barWidth;    <span class="comment">// In view coordinates</span>
<a name="l00067"></a>00067 <span class="keyword">@property</span> (nonatomic, readwrite, assign) CGFloat stickLength; <span class="comment">// In view coordinates</span>
<a name="l00068"></a>00068 <span class="keyword">@property</span> (nonatomic, readwrite, assign) CGFloat barCornerRadius;
<a name="l00069"></a>00069 
<a name="l00070"></a>00070 <span class="keyword">@end</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_c_p_t_trading_range_plot_8h.html">CPTTradingRangePlot.h</a>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
